import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

import 'lib-flexible';
import { QC } from '@/libs/qc_jssdk.js'
import { Button, Tabbar, TabbarItem, Icon, Swipe, SwipeItem, Grid, GridItem, TreeSelect, Card, Field, Toast, SwipeCell, Checkbox, Stepper, SubmitBar, GoodsAction, GoodsActionIcon, GoodsActionButton, Sku, Dialog, List, PullRefresh } from 'vant';

Vue.use(Button).use(Tabbar).use(TabbarItem).use(Icon).use(Swipe).use(SwipeItem).use(Grid).use(GridItem).use(TreeSelect).use(Card).use(Field).use(Toast).use(SwipeCell).use(Checkbox).use(Stepper).use(SubmitBar).use(GoodsAction).use(GoodsActionIcon).use(GoodsActionButton).use(Sku).use(Dialog).use(List).use(PullRefresh);
Vue.config.productionTip = false;

//全局挂载QQ
Vue.prototype.$QQ = QC

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");